package br.com.mundoj.subscription.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.google.gwt.user.client.ui.RootPanel;

public class SubscriptionApp implements EntryPoint {
	@GinModules(SubscriptionModule.class)
	interface Injector extends Ginjector { 
		SubscriptionManager presenter();
	}
	Injector injector = GWT.create(Injector.class);
	
	@Override
	public void onModuleLoad() {
		RootPanel.get().add(injector.presenter().getView());
	}
}